Abraham\TwitterOAuth\TwitterOAuth A

Total Complexity 72
Dependencies 9
Dependents 1
Total lines 799
Lines of code 401
Logical lines of code 164
Comment lines 247
Methods 36
Properties 6

Methods 36

Method Rating Maintainability Complexity Lines of code
request()
A
42 8 56
oAuthRequest()
S
50 4 33
uploadMediaChunked()
S
47 3 42
__construct()
S
62 5 11
curlOptions()
S
53 3 23
uploadMediaNotChunked()
S
57 3 18
parseHeaders()
S
61 3 11
requestsAvailable()
S
73 3 5
cleanUpParameters()
S
66 3 8
sleepIfNeeded()
S
74 3 5
http()
S
61 2 14
oauth()
S
60 2 13
setPostfieldsOptions()
S
62 2 12
oauth2()
S
53 1 25
mediaInitParameters()
S
58 1 17
makeRequests()
S
63 2 10
curlCaOpt()
S
79 2 3
put()
S
70 2 6
upload()
S
69 2 7
post()
S
70 2 6
mediaStatus()
S
63 1 12
encodeAppAuthorization()
S
72 1 5
setBearer()
S
77 1 4
getLastApiPath()
S
81 1 3
getLastHttpCode()
S
81 1 3
getLastXHeaders()
S
81 1 3
getLastBody()
S
81 1 3
get()
S
78 1 3
apiUrl()
S
67 1 9
resetLastResponse()
S
80 1 3
extension()
S
71 1 6
resetAttemptsNumber()
S
81 1 3
url()
S
70 1 6
setOauthToken()
S
75 1 4
delete()
S
78 1 3
useJsonBody()
S
71 1 6